
import { http, API } from '../utils/http'
export const swiper = function () {
    return API({
        url: 'home',
        method: 'post',
        data: {
            user_id: 1024
        }
    })
}

export const splke = function () {
    return API({
        url: 'home',
        method: 'post',
        data: {
            user_id: 1024
        }
    })
}
export const getClassify = params => http({ method: 'POST', url: '/category', params })
export const getHome = params => http({ method: 'POST', url: '/home', params })

